import http from '../http.js'
const {get, post, downloadFile} = http

// 订单提交
export function ApiSubmitOrder(data){
  return post('/blade-order/app/order/submitOrder',data,'json')
}

// 获取订单列表
export function ApiOrderList(data){
  return get('/blade-order/app/order/orderList',data)
}

// 获取订单详情
export function ApiOrderDetail(data){
  return get('/blade-order/app/order/orderDetail',data)
}

// 获取订单明细列表
export function ApiItemsListByOrderId(data){
  return get('/blade-order/app/orderItems/itemsListByOrderId',data)
}